home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pppptttthhhhrrrreeeeaaaadddd____oooonnnncccceeee((((3333PPPP)))) pppptttthhhhrrrreeeeaaaadddd____oooonnnncccceeee((((3333PPPP))))
-
-
-
- NNNNAAAAMMMMEEEE
- pthread_once - thread-safe initialization
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<pppptttthhhhrrrreeeeaaaadddd....hhhh>>>>
-
- iiiinnnntttt pppptttthhhhrrrreeeeaaaadddd____oooonnnncccceeee((((pppptttthhhhrrrreeeeaaaadddd____oooonnnncccceeee____tttt ****oooonnnncccceeee,,,, vvvvooooiiiidddd ((((****iiiinnnniiiitttt))))((((vvvvooooiiiidddd))))))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _p_t_h_r_e_a_d__o_n_c_e() function ensures that the function _i_n_i_t is called
- exactly once for all callers using the _o_n_c_e initialization variable.
- This variable is initialized with the constant PPPPTTTTHHHHRRRREEEEAAAADDDD____OOOONNNNCCCCEEEE____IIIINNNNIIIITTTT. While
- _i_n_i_t is being executed all callers of _p_t_h_r_e_a_d__o_n_c_e() will wait.
-
- If a thread is cancelled while executing the _i_n_i_t function [see
- _p_t_h_r_e_a_d__s_e_t_c_a_n_c_e_l_s_t_a_t_e()], then _p_t_h_r_e_a_d__o_n_c_e() will permit another thread
- (possibly waiting) to make the call.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- There are no errors for _p_t_h_r_e_a_d__o_n_c_e.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- pthread_setcancelstate(3P).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-